
import request from "./http";


// http://floor.huluxia.com/user/info/ANDROID/4.1.8?_key=79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E&user_id=20096544
// /user/info/ANDROID/4.1.8
// _key
// user_id

export function getSpaceUserinfo(params) {
    params._key = "79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E"
    return request({
        url: "/user/info/ANDROID/4.1.8",
        method: "get",
        params,
    })
}


// http://floor.huluxia.com/comment/create/list/ANDROID/4.1.8
// ?user_id=20096544
// &start=0
// &count=20
// &_key=79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E

export function getReplyData(params) {
    params._key = "79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E"
    return request({
        url: "/comment/create/list/ANDROID/4.1.8",
        method: "get",
        params,
    })
}

// http://floor.huluxia.com/post/favorite/list/ANDROID/4.1.8?_key=79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E&start=0&groupId=0&count=20&user_id=20096544
// http://floor.huluxia.com
// /post/favorite/list/ANDROID/4.1.8
// ?_key=79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E
// &start=0
// &groupId=0
// &count=20
// &user_id=20096544

export function getCollectionViewData(params) {
    params._key = "79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E"
    return request({
        url: "/post/favorite/list/ANDROID/4.1.8",
        method: "get",
        params,
    })
}

// http://floor.huluxia.com
// /postaudit/create/list/ANDROID/2.0
// ?_key=79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E
// &start=0
// &count=20
// &user_id=20096544

export function getPostauditListData(params) {
    params._key = "79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E"
    return request({
        url: "/postaudit/create/list/ANDROID/2.0",
        method: "get",
        params,
    })
}

// http://floor.huluxia.com
// /post/create/list/ANDROID/4.1.8
// ?_key=79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E
// &start=0
// &count=20
// &user_id=20096544

export function getPostListData(params) {
    params._key = "79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E"
    return request({
        url: "/post/create/list/ANDROID/4.1.8",
        method: "get",
        params,
    })
}


// http://floor.huluxia.com
// /friendship/following/list/ANDROID/4.1.8
// ?_key=79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E
// &start=0
// &count=20
// &user_id=20096544

export function getFriendListData(params) {
    params._key = "79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E"
    return request({
        url: "/friendship/following/list/ANDROID/4.1.8",
        method: "get",
        params,
    })
}

// http://floor.huluxia.com
// /friendship/follower/list/ANDROID/4.1.8
// ?_key=79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E
// &start=0
// &count=20
// &user_id=20096544
// &compare_id=20096544

export function getFansListData(params) {
    params._key = "79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E"
    params.compare_id = params.user_id;
    return request({
        url: "/friendship/follower/list/ANDROID/4.1.8",
        method: "get",
        params,
    })
}


// http://floor.huluxia.com
// /friendship/check/ANDROID/2.1
// ?user_id=14372319
// &_key=79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E

export function getIsFriendship(params) {
    params._key = "79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E"
    return request({
        url: "/friendship/check/ANDROID/2.1",
        method: "get",
        params,
    })
}


// http://floor.huluxia.com
// /product/list/ANDROID/4.2
// ?_key=79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E
// &banner_id=0
// &start=0
// &count=12

export function getProductList(params) {
    params._key = "79C01CEFACD51FFB4A622C86863C3E9D7E4BFE77FBFAD2C9B4B8F17A3ED35CFFF6AE76F07CAE7686706DD0D11037083834712141F2272A2E"
    return request({
        url: "/product/list/ANDROID/4.2",
        method: "get",
        params,
    })
}